package ua.nure.nguyen.blinove.chapter6.task;

public abstract class Book implements Publishable {

	@Override
	public void publish() {
		System.out.println("publishing " + getName());
	}
	
	public String getName() {
		return getClass().getSimpleName();
	}

}
